package hascode_testing;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;

public class Data_to_HashMap {
	
	public static void main(String[] args) throws IOException{
		
	HashMap<Integer, String> my_hash = new HashMap<Integer, String>();
		
	String lineRead;		
	BufferedReader infile = new BufferedReader(new FileReader(args[0]));
	
	lineRead = infile.readLine();
	
	while(lineRead!=null)													/*1*/
	{	
	
	my_hash.put(lineRead.hashCode(), lineRead);
	
	lineRead = infile.readLine();
	}
	
	System.out.println(my_hash.values());

	}
}
